package com.blb.controller;

import com.blb.entity.Label;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@CrossOrigin //跨域问题解决方法
@Controller
@RequestMapping("/page")
public class WelcomePage {
    @RequestMapping("addLabel")
    public String add(){
        return "label/addLable";
    }


}
